//
//  XLHistoryEditHeaderView.h
//  History
//
//  Created by 于鹏 on 2017/9/4.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, XLHistoryHeaderEditType){
    XLHistoryEditTypeSelectAll = 0, //全选
    XLHistoryEditTypeCollect = 1,   //收藏
    XLHistoryEditTypeDelete = 2     //删除
};

typedef void(^XLEditBlock)(UIButton *sender, XLHistoryHeaderEditType editType);

@interface XLHistoryEditHeaderView : UIView
@property (nonatomic, copy)XLEditBlock editBlock;
@property (nonatomic, assign)BOOL selectAllBtnIsSelect;//全选是否选中
+ (instancetype)creatEditView;

@end
